@contentful/field-editor-markdown 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,12 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [1.2.1](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.2.0...@contentful/field-editor-markdown@1.2.1) (2023-05-09)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **markdown:** toolbar overflow ([#1411](https://github.com/contentful/field-editors/issues/1411)) ([e79bc65](https://github.com/contentful/field-editors/commit/e79bc65b9107dee2efbad380e8ceaeaeaa464dc0))
11
+
6
12
  # [1.2.0](https://github.com/contentful/field-editors/compare/@contentful/field-editor-markdown@1.1.16...@contentful/field-editor-markdown@1.2.0) (2023-04-19)
7
13
 
8
14
  ### Features
@@ -1580,7 +1580,8 @@ const styles$5 = {
1580
1580
  border: `1px solid ${tokens.gray400}`,
1581
1581
  backgroundColor: tokens.gray100,
1582
1582
  padding: tokens.spacingXs,
1583
- borderTopLeftRadius: tokens.borderRadiusSmall
1583
+ borderTopLeftRadius: tokens.borderRadiusSmall,
1584
+ overflow: 'hidden'
1584
1585
  }),
1585
1586
  button: /*#__PURE__*/emotion.css({
1586
1587
  height: '30px',
@@ -1812,8 +1813,11 @@ function DefaultMarkdownToolbar(props) {
1812
1813
  return React__default.createElement("div", {
1813
1814
  className: styles$5.root
1814
1815
  }, React__default.createElement(f36Components.Flex, {
1815
- justifyContent: "space-between"
1816
- }, React__default.createElement(f36Components.Flex, null, React__default.createElement(MainButtons, { ...props
1816
+ justifyContent: "space-between",
1817
+ flexWrap: "wrap"
1818
+ }, React__default.createElement(f36Components.Flex, {
1819
+ flexWrap: "wrap"
1820
+ }, React__default.createElement(MainButtons, { ...props
1817
1821
  }), React__default.createElement(ToolbarButton, {
1818
1822
  isDisabled: props.disabled,
1819
1823
  testId: "markdown-action-button-toggle-additional",